package DesignMode.observer;

public class Main {
    public static void main(String[] args) {
        Subject sub = new RealSubject();
        Observer observer = new RealObserver();
        sub.attach(observer);
        sub.notifyChange();
    }
}
